﻿using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace IH.Storage.Entity
{
    public class TUser: TEntity
    {
        [BsonElement("name")]
        public string Name { get; set; }

        [BsonElement("sex")]
        public int Sex { get; set; }

        [BsonElement("headpic")]
        public string HeadPic { get; set; }

        [BsonElement("wechat_openid")]
        public string WechatOpenId { get; set; }

        [BsonElement("token")]
        public string Token { get; set; }

        [BsonElement("miniapp_ids")]
        public List<string> MiniAppIds { get; set; } = new List<string>();
    }
}
